<?php
if ($config['tinyMceGzip']):
	$this->append ("scripts", "editor/tiny_mce_gzip.php");
else:
	$this->append ("scripts", "editor/tiny_mce");
endif; ?>

<script type="text/javascript">EnhancedForms.addEditor(
'<?php if ($name): 
	echo $name; 
else: ?>objcontent<?php 
endif; ?>'
<?php if ($type): ?>
	, '<?php _e($type) ?>'
<?php endif; ?>);
</script>

<textarea name="<?php if ($name): echo $name; else: ?>objcontent<?php endif; ?>" rows="<?php echo ($rows ? $rows : 6) ?>" cols="60"
<?php if ($required): ?>
	class="required"
<?php endif; ?> id="formobjcontent"><?php _e($edit['content']) ?></textarea>